package com.team1.manager.classes.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.team1.manager.group.entity.Group;
import com.team1.manager.pro.entity.Pro;
import com.team1.manager.school.entity.School;
import com.team1.manager.student.entity.Student;
import com.team1.manager.teacher.entity.Teacher;
/**
 * 班级
 * @author yzy
 *
 */
public class Classes implements Serializable {
	private String id;
	private String name;//班级的名称
	private Set<Student> students = new HashSet<Student>();//班级所拥有的学生
	private Set<Group> groups = new HashSet<Group>();//班级拥有的小组
	private Set<Teacher> teachers = new HashSet<Teacher>();//班级拥有的老师
	private Pro pro;//班级对应的专业
	private School school;//班级所属的校区
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<Student> getStudents() {
		return students;
	}
	public void setStudents(Set<Student> students) {
		this.students = students;
	}
	public Set<Group> getGroups() {
		return groups;
	}
	public void setGroups(Set<Group> groups) {
		this.groups = groups;
	}
	public Set<Teacher> getTeachers() {
		return teachers;
	}
	public void setTeachers(Set<Teacher> teachers) {
		this.teachers = teachers;
	}
	public Pro getPro() {
		return pro;
	}
	public void setPro(Pro pro) {
		this.pro = pro;
	}
	public School getSchool() {
		return school;
	}
	public void setSchool(School school) {
		this.school = school;
	}
	
}
